package org.panda.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration  //标注当前类是一个配置类（替代配置文件）+ @Component
//<context:component-scan base-package="org.panda.spring"/>
@ComponentScan("org.panda.spring")
// <context:property-placeholder location="classpath:jdbc.properties"/>
@PropertySource("classpath:jdbc.properties")
public class SpringConfig {
}
